package cn.com.headfree.vo;

import java.util.ArrayList;
import java.util.List;

/**
 * 部门列表vo
 * @author xuliang
 *
 */
public class DeptListVo {
	private String deptId;//部门id
	private String name;//部门名称
	private boolean isHaveChildren;//该部门是否包含子级
	List<DeptUserNumDtoVo> deptlist=new ArrayList<DeptUserNumDtoVo>();//部门信息以及子部门人数
	private List<UserVo> userList=new ArrayList<UserVo>();//该级部门下面的人员列表
	private int userNum;//部门下的总人数（包括子部门）
	public String getDeptId() {
		return deptId;
	}
	public void setDeptId(String deptId) {
		this.deptId = deptId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public boolean isHaveChildren() {
		return isHaveChildren;
	}
	public void setHaveChildren(boolean isHaveChildren) {
		this.isHaveChildren = isHaveChildren;
	}
	public List<UserVo> getUserList() {
		return userList;
	}
	public void setUserList(List<UserVo> userList) {
		this.userList = userList;
	}
	public List<DeptUserNumDtoVo> getDeptlist() {
		return deptlist;
	}
	public void setDeptlist(List<DeptUserNumDtoVo> deptlist) {
		this.deptlist = deptlist;
	}
	public int getUserNum() {
		return userNum;
	}
	public void setUserNum(int userNum) {
		this.userNum = userNum;
	}

	@Override
	public String toString() {
		return "DeptListVo{" +
				"deptId='" + deptId + '\'' +
				", name='" + name + '\'' +
				", isHaveChildren=" + isHaveChildren +
				", deptlist=" + deptlist +
				", userList=" + userList +
				", userNum=" + userNum +
				'}';
	}
}
